home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PLineStyle.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  755b  |  27 lines

  1. /*
  2.  *--- PLineStyle.cpp ------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PLineStyle.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PLineStyle.h"
  12. #include "PCommand.h"
  13.  
  14. const size_t REQUEST_SIZE = 8;
  15.  
  16. PLineStyle::PLineStyle(short cLineStyle, short bReverse, short dWeight, short bOpaque)
  17. {
  18.     short x[4];
  19.     x[0] = cLineStyle;
  20.     x[1] = bReverse;
  21.     x[2] = dWeight;
  22.     x[3] = bOpaque;
  23.     PCommand command(pm_linestyle, x, REQUEST_SIZE);
  24. }
  25.  
  26. // end of PLineStyle.cpp
  27.